# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'new_project.ui'
#
# Created: Sun Apr  1 03:38:11 2007
#      by: PyQt4 UI code generator 4.0.1
#
# WARNING! All changes made in this file will be lost!

import sys
from PyQt4 import QtCore, QtGui

class Ui_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(QtCore.QSize(QtCore.QRect(0,0,400,177).size()).expandedTo(Form.minimumSizeHint()))
        Form.setMinimumSize(QtCore.QSize(400,177))
        Form.setMaximumSize(QtCore.QSize(400,177))

        self.groupBox = QtGui.QGroupBox(Form)
        self.groupBox.setGeometry(QtCore.QRect(10,10,381,121))
        self.groupBox.setObjectName("groupBox")

        self.label_2 = QtGui.QLabel(self.groupBox)
        self.label_2.setGeometry(QtCore.QRect(10,30,83,17))
        self.label_2.setObjectName("label_2")

        self.label = QtGui.QLabel(self.groupBox)
        self.label.setGeometry(QtCore.QRect(10,60,81,17))
        self.label.setObjectName("label")

        self.label_3 = QtGui.QLabel(self.groupBox)
        self.label_3.setGeometry(QtCore.QRect(10,90,89,17))
        self.label_3.setObjectName("label_3")

        self.txt_projname = QtGui.QLineEdit(self.groupBox)
        self.txt_projname.setGeometry(QtCore.QRect(110,25,161,25))
        self.txt_projname.setMaxLength(30)
        self.txt_projname.setObjectName("txt_projname")

        self.sel_projtype = QtGui.QComboBox(self.groupBox)
        self.sel_projtype.setGeometry(QtCore.QRect(110,58,161,22))
        self.sel_projtype.setObjectName("sel_projtype")

        self.txt_basedir = QtGui.QLineEdit(self.groupBox)
        self.txt_basedir.setGeometry(QtCore.QRect(110,88,221,25))
        self.txt_basedir.setObjectName("txt_basedir")

        self.btn_browser = QtGui.QToolButton(self.groupBox)
        self.btn_browser.setGeometry(QtCore.QRect(342,87,30,26))
        self.btn_browser.setObjectName("btn_browser")

        self.btn_ok = QtGui.QPushButton(Form)
        self.btn_ok.setGeometry(QtCore.QRect(231,140,71,27))
        self.btn_ok.setObjectName("btn_ok")

        self.btn_cancel = QtGui.QPushButton(Form)
        self.btn_cancel.setGeometry(QtCore.QRect(311,140,80,27))
        self.btn_cancel.setObjectName("btn_cancel")
        self.label_2.setBuddy(self.txt_projname)
        self.label.setBuddy(self.sel_projtype)
        self.label_3.setBuddy(self.txt_basedir)

        self.retranslateUi(Form)
        QtCore.QMetaObject.connectSlotsByName(Form)
        Form.setTabOrder(self.txt_projname,self.sel_projtype)
        Form.setTabOrder(self.sel_projtype,self.txt_basedir)
        Form.setTabOrder(self.txt_basedir,self.btn_browser)

    def retranslateUi(self, Form):
        Form.setWindowTitle(QtGui.QApplication.translate("Form", "New Project", None, QtGui.QApplication.UnicodeUTF8))
        self.groupBox.setTitle(QtGui.QApplication.translate("Form", "Project properties", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("Form", "Project name:", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("Form", "Project type:", None, QtGui.QApplication.UnicodeUTF8))
        self.label_3.setText(QtGui.QApplication.translate("Form", "Base directory:", None, QtGui.QApplication.UnicodeUTF8))
        self.sel_projtype.addItem(QtGui.QApplication.translate("Form", "Select ...", None, QtGui.QApplication.UnicodeUTF8))
        self.sel_projtype.addItem(QtGui.QApplication.translate("Form", "PHP", None, QtGui.QApplication.UnicodeUTF8))
        self.sel_projtype.addItem(QtGui.QApplication.translate("Form", "Ruby", None, QtGui.QApplication.UnicodeUTF8))
        self.sel_projtype.addItem(QtGui.QApplication.translate("Form", "Python", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_browser.setText(QtGui.QApplication.translate("Form", "...", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_ok.setText(QtGui.QApplication.translate("Form", "OK", None, QtGui.QApplication.UnicodeUTF8))
        self.btn_cancel.setText(QtGui.QApplication.translate("Form", "Cancel", None, QtGui.QApplication.UnicodeUTF8))
